<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>提现 - <?php echo $cfg_webname; ?></title>
<link href="templets/style/css/reset.css" rel="stylesheet" type="text/css">
<link href="templets/style/css/member.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="templets/js/j.js"></script>
<script type="text/javascript" src="templets/js/load.js"></script>
</head>
<body>
<!--head-->
<?php include(DEDEMEMBER. "/templets/head.htm"); ?>

<div class="main">

<?php include(DEDEMEMBER."/templets/menu.php"); ?> 

<div class="main_right">

<div class="zhsz_title">
<a href="extract.php" class="cur">申请提现</a><a href="extract_op.php">提现记录</a>
</div>

<form name="f1" action="extract.php" method="post"> 
  <input type="hidden" name="type" value="tx" /> 
<ul class="jbzl_form">
<li><span class="col1">当前余额：</span><span style="margin-right:20px;"><strong><?php echo $cfg_ml->M_Money;?></strong>金币</span> 计算成人民币：<strong><?php echo $cfg_ml->M_Money * $cfg_scsy;?></strong>元</p></li>
<li><span class="col1">提现数额：</span><span class="col2"><input type="text" name="shue" class="text" placeholder="请输入金币数额" oninput="document.getElementById('webtest').innerHTML=this.value*<?php echo $cfg_scsy;?>;" onpropertychange="document.getElementById('webtest').innerHTML=this.value*<?php echo $cfg_scsy;?>;" value="" /></span><span class="col3"> = <font color="red" id="webtest">0</font> 元人民币</span></li>
<li><span class="col1">计算公式：</span><div class="mor-d">提现金币数量 X <?php echo $cfg_scsy;?> = 人民币（元），提现过程中若产生手续费由收款方承担。</div></li>
<li>
<span class="col1"></span>
<span class="col2"><input type="submit" class="submit_button" value="确认提现"></span>
</li>
</ul>
</form>

</div>

</div>

<!--footer-->
<?php include(DEDEMEMBER. "/templets/footer.htm"); ?>

<script>
	//左边导航
	var as = document.querySelectorAll('.left_menu a');
	var spans = document.querySelectorAll('.left_menu .icons');
	for(var i=0,len=as.length;i<len;i++){
		
		spans[i].clazz = spans[i].className;
		as[i].index = i;
		as[i].onmouseenter = mouseenterHandler;
		as[i].onmouseleave = mouseleaseHandler;
	}
	function mouseenterHandler(e){
		if(!/_h$/.test(spans[this.index].clazz)){
			spans[this.index].className = spans[this.index].clazz + '_h';
		}
	}
	function mouseleaseHandler(e){
		spans[this.index].className = spans[this.index].clazz;
	}
	
	//左右等高布局
	var main_left = document.querySelector('.main_left');
	var main_right = document.querySelector('.main_right');
	if(main_left.offsetHeight<main_right.offsetHeight){
		main_left.style.height = main_right.offsetHeight + 'px';
	}
</script>

</body>
</html>